package com.chen.palmar.entity;

import java.util.List;

/**
 * Created by chen on 2018/1/14.
 */

public class SearchEntity {

    /**
     * resultCode : 1000
     * message :
     * error :
     * data : {"viewArticle":[{"articleId":62,"title":"测试标题1","imgList":[],"content":"采购内容","user_name":"新昵称","user_avatar":"http://garden-upload.hulianjiating.com/upload/avatar/origin/201712/9ecfaf00-aad4-48ee-b6e7-b2103870cc52.jpeg","create_at":"2018-01-04 00:00","type":1,"address_detail":"北京市通州区XXX号","praise_nums":0,"browse_nums":0,"comment_nums":0}],"viewDistributor":[{"distrId":5,"logo":"http://garden-upload.hulianjiating.com/upload/app/default/avatarServant.jpeg","name":"测试","desc":"店铺描述","brand":null,"address_name":"石家庄藁城","channel":null}],"viewFactory":[{"factoryId":1,"logo":"http://garden-upload.hulianjiating.com/upload/app/default/avatarServant.jpeg","name":"测试修改","desc":"厂家描述","address_name":"河北张家口市"}],"storeList":[{"factoryId":1,"sotreId":5,"logo":"http://garden-upload.hulianjiating.com/upload/app/default/avatarServant.jpeg","name":"测试店铺名称","desc":null}]}
     * dataReserve1 : null
     * dataReserve2 : null
     * navigatePageNumbers : null
     */

    private int resultCode;
    private String message;
    private String error;
    private DataBean data;
    private String dataReserve1;
    private String dataReserve2;
    private String navigatePageNumbers;

    public int getResultCode() {
        return resultCode;
    }

    public void setResultCode(int resultCode) {
        this.resultCode = resultCode;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getError() {
        return error;
    }

    public void setError(String error) {
        this.error = error;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getDataReserve1() {
        return dataReserve1;
    }

    public void setDataReserve1(String dataReserve1) {
        this.dataReserve1 = dataReserve1;
    }

    public String getDataReserve2() {
        return dataReserve2;
    }

    public void setDataReserve2(String dataReserve2) {
        this.dataReserve2 = dataReserve2;
    }

    public String getNavigatePageNumbers() {
        return navigatePageNumbers;
    }

    public void setNavigatePageNumbers(String navigatePageNumbers) {
        this.navigatePageNumbers = navigatePageNumbers;
    }

    public static class DataBean {
        private List<ViewArticleBean> viewArticle;
        private List<ViewDistributorBean> viewDistributor;
        private List<ViewFactoryBean> viewFactory;
        private List<StoreListBean> storeList;

        public List<ViewArticleBean> getViewArticle() {
            return viewArticle;
        }

        public void setViewArticle(List<ViewArticleBean> viewArticle) {
            this.viewArticle = viewArticle;
        }

        public List<ViewDistributorBean> getViewDistributor() {
            return viewDistributor;
        }

        public void setViewDistributor(List<ViewDistributorBean> viewDistributor) {
            this.viewDistributor = viewDistributor;
        }

        public List<ViewFactoryBean> getViewFactory() {
            return viewFactory;
        }

        public void setViewFactory(List<ViewFactoryBean> viewFactory) {
            this.viewFactory = viewFactory;
        }

        public List<StoreListBean> getStoreList() {
            return storeList;
        }

        public void setStoreList(List<StoreListBean> storeList) {
            this.storeList = storeList;
        }

        public static class ViewArticleBean {
            /**
             * articleId : 62
             * title : 测试标题1
             * imgList : []
             * content : 采购内容
             * user_name : 新昵称
             * user_avatar : http://garden-upload.hulianjiating.com/upload/avatar/origin/201712/9ecfaf00-aad4-48ee-b6e7-b2103870cc52.jpeg
             * create_at : 2018-01-04 00:00
             * type : 1
             * address_detail : 北京市通州区XXX号
             * praise_nums : 0
             * browse_nums : 0
             * comment_nums : 0
             */

            private int articleId;
            private String title;
            private String content;
            private String user_name;
            private String user_avatar;
            private String create_at;
            private int type;
            private String address_detail;
            private int praise_nums;
            private int browse_nums;
            private int comment_nums;
            private List<String> imgList;

            public int getArticleId() {
                return articleId;
            }

            public void setArticleId(int articleId) {
                this.articleId = articleId;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getContent() {
                return content;
            }

            public void setContent(String content) {
                this.content = content;
            }

            public String getUser_name() {
                return user_name;
            }

            public void setUser_name(String user_name) {
                this.user_name = user_name;
            }

            public String getUser_avatar() {
                return user_avatar;
            }

            public void setUser_avatar(String user_avatar) {
                this.user_avatar = user_avatar;
            }

            public String getCreate_at() {
                return create_at;
            }

            public void setCreate_at(String create_at) {
                this.create_at = create_at;
            }

            public int getType() {
                return type;
            }

            public void setType(int type) {
                this.type = type;
            }

            public String getAddress_detail() {
                return address_detail;
            }

            public void setAddress_detail(String address_detail) {
                this.address_detail = address_detail;
            }

            public int getPraise_nums() {
                return praise_nums;
            }

            public void setPraise_nums(int praise_nums) {
                this.praise_nums = praise_nums;
            }

            public int getBrowse_nums() {
                return browse_nums;
            }

            public void setBrowse_nums(int browse_nums) {
                this.browse_nums = browse_nums;
            }

            public int getComment_nums() {
                return comment_nums;
            }

            public void setComment_nums(int comment_nums) {
                this.comment_nums = comment_nums;
            }

            public List<String> getImgList() {
                return imgList;
            }

            public void setImgList(List<String> imgList) {
                this.imgList = imgList;
            }
        }

        public static class ViewDistributorBean {
            /**
             * distrId : 5
             * logo : http://garden-upload.hulianjiating.com/upload/app/default/avatarServant.jpeg
             * name : 测试
             * desc : 店铺描述
             * brand : null
             * address_name : 石家庄藁城
             * channel : null
             */

            private int distrId;
            private String logo;
            private String name;
            private String desc;
            private String brand;
            private String address_name;
            private String channel;

            public int getDistrId() {
                return distrId;
            }

            public void setDistrId(int distrId) {
                this.distrId = distrId;
            }

            public String getLogo() {
                return logo;
            }

            public void setLogo(String logo) {
                this.logo = logo;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getDesc() {
                return desc;
            }

            public void setDesc(String desc) {
                this.desc = desc;
            }

            public String getBrand() {
                return brand;
            }

            public void setBrand(String brand) {
                this.brand = brand;
            }

            public String getAddress_name() {
                return address_name;
            }

            public void setAddress_name(String address_name) {
                this.address_name = address_name;
            }

            public String getChannel() {
                return channel;
            }

            public void setChannel(String channel) {
                this.channel = channel;
            }
        }

        public static class ViewFactoryBean {
            /**
             * factoryId : 1
             * logo : http://garden-upload.hulianjiating.com/upload/app/default/avatarServant.jpeg
             * name : 测试修改
             * desc : 厂家描述
             * address_name : 河北张家口市
             */

            private int factoryId;
            private String logo;
            private String name;
            private String desc;
            private String address_name;

            public int getFactoryId() {
                return factoryId;
            }

            public void setFactoryId(int factoryId) {
                this.factoryId = factoryId;
            }

            public String getLogo() {
                return logo;
            }

            public void setLogo(String logo) {
                this.logo = logo;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getDesc() {
                return desc;
            }

            public void setDesc(String desc) {
                this.desc = desc;
            }

            public String getAddress_name() {
                return address_name;
            }

            public void setAddress_name(String address_name) {
                this.address_name = address_name;
            }
        }

        public static class StoreListBean {
            /**
             * factoryId : 1
             * sotreId : 5
             * logo : http://garden-upload.hulianjiating.com/upload/app/default/avatarServant.jpeg
             * name : 测试店铺名称
             * desc : null
             */

            private int factoryId;
            private int sotreId;
            private String logo;
            private String name;
            private String desc;

            public int getFactoryId() {
                return factoryId;
            }

            public void setFactoryId(int factoryId) {
                this.factoryId = factoryId;
            }

            public int getSotreId() {
                return sotreId;
            }

            public void setSotreId(int sotreId) {
                this.sotreId = sotreId;
            }

            public String getLogo() {
                return logo;
            }

            public void setLogo(String logo) {
                this.logo = logo;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getDesc() {
                return desc;
            }

            public void setDesc(String desc) {
                this.desc = desc;
            }
        }
    }
}
